import request from '@/utils/request';
import {ILoginForm,ILoginResponse} from "@/api/types/common";


export const login = (data: ILoginForm) => {
  return request<ILoginResponse>({
    method: 'POST',
    url: '/system/login',
    data,
  });
};
